#include <iostream>
#include "Factory.h"
#include "AbstractFactory.h"

int main()
{
    std::unique_ptr<IGUIFactory> factory = std::make_unique<WindowsFactory>();
    auto button = factory->CreateButton();
    auto textbox = factory->CreateTextBox();
    button->Paint();
    textbox->Paint();

    factory = std::make_unique<MacFactory>();
    button = factory->CreateButton();
    textbox = factory->CreateTextBox();
    button->Paint();
    textbox->Paint();

    return 0;
}